﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MODEL
{
    /// <summary>
    /// 广告内容
    /// </summary>
    #region 广告内容
    public class AdInformation
    {
        public AdInformation() 
        { }
        /// <summary>
        /// 广告编号
        /// </summary>
        private string _aID;

        public string AID
        {
            get { return _aID; }
            set { _aID = value; }
        }
        /// <summary>
        /// 广告标题
        /// </summary>
        private string _atitle;

        public string Atitle
        {
            get { return _atitle; }
            set { _atitle = value; }
        }
        /// <summary>
        /// 广告链接
        /// </summary>
        private string _aurl;

        public string Aurl
        {
            get { return _aurl; }
            set { _aurl = value; }
        }
        /// <summary>
        /// 开始时间
        /// </summary>
        private DateTime _abeginTime;

        public DateTime AbeginTime
        {
            get { return _abeginTime; }
            set { _abeginTime = value; }
        }
        /// <summary>
        /// 结束时间
        /// </summary>
        private DateTime _aendTime;

        public DateTime AendTime
        {
            get { return _aendTime; }
            set { _aendTime = value; }
        }
        /// <summary>
        /// 广告状态
        /// </summary>
        private bool _astate;

        public bool Astate
        {
            get { return _astate; }
            set { _astate = value; }
        }
        /// <summary>
        /// 所在位置
        /// </summary>
        private string _aposition;

        public string Aposition
        {
            get { return _aposition; }
            set { _aposition = value; }
        }
        /// <summary>
        /// 广告图片
        /// </summary>
        private string _aimgurl;

        public string Aimgurl
        {
            get { return _aimgurl; }
            set { _aimgurl = value; }
        }
    }
    #endregion

    /// <summary>
    /// 广告位
    /// </summary>
    #region 广告位
    public class AdPosition
    {
        public AdPosition()
        { }
        /// <summary>
        /// 广告位编号
        /// </summary>
        private string _aID;

        public string AID
        {
            get { return _aID; }
            set { _aID = value; }
        }
        /// <summary>
        /// 广告位标题
        /// </summary>
        private string _atitle;

        public string Atitle
        {
            get { return _atitle; }
            set { _atitle = value; }
        }
        /// <summary>
        /// 所在页面
        /// </summary>
        private string _apage;

        public string Apage
        {
            get { return _apage; }
            set { _apage = value; }
        }
        /// <summary>
        /// 大小 宽
        /// </summary>
        private int _awidth;

        public int Awidth
        {
            get { return _awidth; }
            set { _awidth = value; }
        }
        /// <summary>
        /// 大小 高
        /// </summary>
        private int _aheight;

        public int Aheight
        {
            get { return _aheight; }
            set { _aheight = value; }
        }
        /// <summary>
        /// 广告位状态
        /// </summary>
        private bool _astate;

        public bool Astate
        {
            get { return _astate; }
            set { _astate = value; }
        }
    }
    #endregion
}
